home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / LGP250S1.ZIP / src / libgplus.5 / libgplus / proto-ki / make-def < prev    next >
Text File  |  1991-06-28  |  459b  |  17 lines

  1. #!/bin/sh
  2. #
  3. # create a "defs" file, as needed by some libg++ types (see defs.hP
  4. # for the model "defs" file)
  5. #
  6.  
  7. echo "#ifndef _${ifdef_filename}_h";
  8. echo "#define _${ifdef_filename}_h";
  9.  
  10. echo "#include \"${p}.defs.h\"";
  11. echo "#define ${p}_pEQ(a,b) ${p}EQ(*(a),*(b))" ;
  12. echo "#define ${p}_pLE(a,b) ${p}LE(*(a),*(b))" ;
  13. echo "#define ${p}_pCMP(a,b) ${p}CMP(*(a),*(b))" ;
  14. echo "#define ${p}_pHASH(a,b) ${p}HASH(*(a),*(b))" ;
  15.  
  16. echo "#endif _${ifdef_filename}_h";
  17.